.class public final Lnbisdk/do;
.super Ljava/lang/Object;


# static fields
.field private static fJ:Ljava/util/Hashtable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Hashtable",
            "<",
            "Ljava/lang/String;",
            "Landroid/graphics/Bitmap;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field private fK:Lnbisdk/bs;


# direct methods
.method public constructor <init>(Lcom/nbi/common/NBIContext;)V
    .locals 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    invoke-virtual {p1}, Lcom/nbi/common/NBIContext;->getInternalObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/bl;

    new-instance v1, Lnbisdk/bs;

    invoke-virtual {v0}, Lnbisdk/bl;->jw()Landroid/content/Context;

    move-result-object v0

    const-string v2, "respak.zip"

    invoke-direct {v1, v0, v2}, Lnbisdk/bs;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    iput-object v1, p0, Lnbisdk/do;->fK:Lnbisdk/bs;

    sget-object v0, Lnbisdk/do;->fJ:Ljava/util/Hashtable;

    if-nez v0, :cond_0

    new-instance v0, Ljava/util/Hashtable;

    invoke-direct {v0}, Ljava/util/Hashtable;-><init>()V

    sput-object v0, Lnbisdk/do;->fJ:Ljava/util/Hashtable;

    iget-object v0, p0, Lnbisdk/do;->fK:Lnbisdk/bs;

    sget-object v1, Lnbisdk/do;->fJ:Ljava/util/Hashtable;

    invoke-virtual {v0, v1}, Lnbisdk/bs;->a(Ljava/util/Hashtable;)V

    :cond_0
    return-void
.end method


# virtual methods
.method public final j(Ljava/lang/String;)Landroid/graphics/Bitmap;
    .locals 3

    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    sget-object v0, Lnbisdk/do;->fJ:Ljava/util/Hashtable;

    invoke-virtual {v0, v1}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Bitmap;

    if-nez v0, :cond_0

    iget-object v0, p0, Lnbisdk/do;->fK:Lnbisdk/bs;

    invoke-virtual {v0, v1}, Lnbisdk/bs;->j(Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v0

    if-eqz v0, :cond_0

    sget-object v2, Lnbisdk/do;->fJ:Ljava/util/Hashtable;

    invoke-virtual {v2, v1, v0}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-object v0
.end method
